﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WebSocketSharp;

namespace TRTCMain
{
    public class WebSocketHelper
    {
        public WebSocketHelper() {
            var ws = new WebSocket("wss://47.96.94.140:9501");
            ws.OnMessage += Ws_OnMessage;
            ws.OnOpen += Ws_OnOpen;
            ws.OnError += Ws_OnError;
            ws.Connect();
        }

        private void Ws_OnError(object sender, ErrorEventArgs e)
        {
            throw new NotImplementedException();
        }

        private void Ws_OnOpen(object sender, EventArgs e)
        {
            throw new NotImplementedException();
        }

        private void Ws_OnMessage(object sender, MessageEventArgs e)
        {
            throw new NotImplementedException();
        }
    }
}
